package top.fangw.admin.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import top.fangw.common.core.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import top.fangw.common.core.entity.BaseTreeEntity;
import top.fangw.common.core.entity.TenantBaseTreeEntity;

/**
 * <p>
 * 用途：存储菜单信息
 * </p>
 *
 * @author fangw
 * @since 2024-03-02
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("tbl_sys_menu")
@Schema(name = "SysMenu", description = "用途：存储菜单信息")
public class SysMenu extends BaseTreeEntity {

    @Schema(description = "应用id")
    @TableField("application_id")
    private String applicationId;

    @Schema(description = "菜单类型0:菜单 1:按钮 2:组件")
    @TableField("type")
    private String type;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;

    @Schema(description = "链接")
    @TableField("herf")
    private String herf;

    @Schema(description = "目标")
    @TableField("target")
    private String target;

    @Schema(description = "图标")
    @TableField("icon")
    private String icon;

    @Schema(description = "是否固定tagsview")
    @TableField("is_affix")
    private String isAffix;

    @Schema(description = "是否为主题展示姐main")
    @TableField("is_screen")
    private String isScreen;

    @Schema(description = "是否keep-alive")
    @TableField("is_keep_alive")
    private String isKeepAlive;

    @Schema(description = "是否在菜单展示")
    @TableField("is_show")
    private String isShow;

    @Schema(description = "权限标识")
    @TableField("permission")
    private String permission;

    @Schema(description = "是否可删除")
    @TableField("is_deletable")
    private String isDeletable;

    @Schema(description = "系统说明")
    @TableField("description")
    private String description;

    @Schema(description = "租户id")
    @TableField("tenant_id")
    private String tenantId;


}
